/* eslint-disable */

import React from 'react'
import { Svg, Path } from 'react-native-svg'
import { getIconColor } from './helper'

let IconEdit = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M500.864 562.176a29.525333 29.525333 0 0 1-21.333333-9.130667 31.957333 31.957333 0 0 1 0-44.074666l318.122666-329.173334a29.44 29.44 0 0 1 42.581334 0 31.957333 31.957333 0 0 1 0 44.074667l-318.08 329.173333a29.525333 29.525333 0 0 1-21.333334 9.130667zM755.029333 853.333333H272.64c-26.453333 0-53.461333-12.032-73.685333-33.024-20.650667-21.333333-32.554667-48.64-32.554667-75.349333V268.458667c0-27.861333 12.672-53.76 35.114667-71.893334a114.176 114.176 0 0 1 71.125333-24.874666h261.802667c15.488 0 28.032 13.013333 28.032 28.928a28.544 28.544 0 0 1-28.032 28.970666H272.64c-26.282667 0-50.005333 17.237333-50.005333 38.869334V744.96c0 24.448 26.026667 50.474667 50.005333 50.474667h482.389333c20.650667 0 36.010667-23.04 36.010667-50.474667v-225.237333c0-15.872 12.586667-28.842667 28.117333-28.842667 15.530667 0 28.117333 12.970667 28.117334 28.842667v225.28c0 27.008-8.149333 52.608-23.296 72.661333-17.408 23.082667-41.728 35.669333-68.949334 35.669333z"
        fill={getIconColor(color, 0, '#000000')}
      />
    </Svg>
  )
}

IconEdit.defaultProps = {
  size: 18,
}

IconEdit = React.memo ? React.memo(IconEdit) : IconEdit

export default IconEdit
